.App {
  text-align: center;
  background-color: #282c34;
  font-size: calc(10px + 2vmin);
  color: gray();
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.App-logo {
  animation: App-logo-spin infinite 20s linear;
  height: 40vmin;
  pointer-events: none;
}

.App-header {
  min-height: 10vh;
  display: flex;
  flex-direction: column;
  /*align-items: center;*/
  /*justify-content: center;*/
  /*font-size: calc(10px + 2vmin);*/
}

.App-body {
  display: flex;
  flex-direction: column;
  min-height: 90vh;
  width: 100%;
  position: relative;
  bottom: 0;
}

.App-link {
  color: #61dafb;
}

#home {
  margin: auto;
  color: floralwhite;
}

.avatar-icon {
  margin-right: 10px;
}

.voice-peer {
  margin: auto !important;
}

.username-right {
  right: 0;
  position: relative;
  padding: 20px;
  font-size: calc(10px + 1vmin);
  text-align: right;
}

.message-container {
  position: fixed;
  right: 0;
  height: 90%;
  bottom: 0;
  width: 300px;
  background-color: lightslategrey;
}

#message-inner-list {
  overflow-y: auto;
  overflow-wrap: break-word;
  max-height: 100%;
  height: 100%;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
}

.message-list {
  margin: 10px;
  height: calc(100% - 63px - 85px - 25px);
  position: relative;
}

.message-submit {
  position: fixed;
  bottom: 0;
  width: inherit;
  height: 85px;
}

.body-content {
  display: table-cell;
  vertical-align: middle;
  position: relative;
}

.display-stream-container {
  position: relative;
  width: calc(100vw - 300px);
  margin-top: 15px;
}

/*header {*/
  /*flex: initial;*/
  /*height: 75px;*/
  /*position: relative;*/
/*}*/

.sessionappbar-toolbar {
  display: flex;
  justify-content: space-between;
}

.sessionappbar-toolbar-left {
  flex: 1;
  text-align: left;
  z-index: 100;
}

.sessionappbar-toolbar-middle {
  position:absolute;
  left:0;
  right:0;
  margin-left:auto;
  margin-right:auto;
}

.sessionappbar-toolbar-right {
  flex: 1;
  text-align: right;
  z-index: 100;
}

.call-fab {
  margin-left: auto !important;
  margin-right: auto !important;
}

video {
  max-width: 95%;
  width: 95%;
  max-height: 80vh;
}

@media (orientation:portrait), (max-width: 480px){

  #videos-container {
    font-size: xx-small;
  }

  .App-body {
    display: flex;
    flex-direction: column;
    /*min-height: 90vh;*/
    width: 100%;
    position: relative;
    bottom: 0;
  }

  .display-stream-container {
    position: relative;
    width: 100%;
    margin-top: 0px;
  }

  .message-container {
    position: relative;
    height: 30%;
    bottom: 0;
    width: 100%;
    background-color: lightslategrey;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .message-list {
    margin: 0px;
    height: calc(100% - 63px - 30px);
    position: initial;
    flex: 1;
  }

  video {
    max-width: 100%;
    width: 100%;
    max-height: 80vh;
  }

  .message-submit {
    position: fixed;
    bottom: 0;
    width: inherit;
    height: 35px;
  }

  #message-inner-list {
    overflow-y: auto;
    overflow-wrap: break-word;
    max-height: calc(100% - 63px - 30px);
    height: calc(100% - 63px - 30px);
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
  }

  .room-buttons-desktop {
    display: none;
  }
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}